package com.jhx.video.model

import com.chad.library.adapter.base.entity.MultiItemEntity

/**
 *
 *
 * @author Jack 2018-03-30 19:23
 */
open class CommentItem : MultiItemEntity {
    private var mItem = 0

    companion object {
        // 店主已回复
        val ITEM_REPLY = 1
        // 店主未回复
        val ITEM_NOT_REPLY = 2
    }

    fun setType(type: Int = ITEM_REPLY) {
        mItem = type
    }

    override fun getItemType(): Int {
        return mItem
    }
}